using System;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Collections;
using System.Collections.Generic;
namespace Kunlun.Models
{
      public class Product_type
      {
         [Key]  
         [DisplayName("属性类别ID")] 
         public int ID { get; set; }
         [Required(ErrorMessage = "属性类别名不能空")]  
         [DisplayName("属性类别名")] 
         public string Name { get; set; }
         [Required(ErrorMessage = "lin to category table不能空")]  
         [DisplayName("lin to category table")] 
         public int Cid { get; set; }
         [DisplayName("属性选项")] 
         public string Inits { get; set; }
         [Required(ErrorMessage = "使用状态不能空")]  
         [DisplayName("使用状态")] 
         public int Status { get; set; }
         [Required(ErrorMessage = "创建时间不能空")]  
         [DisplayName("创建时间")] 
         public DateTime BeginDate { get; set; }
         [DisplayName("最后修改时间")] 
         public DateTime LastUpdateTime { get; set; }
         } 
} 
